Integrated digital calibration circuit and digital to analog converter (DAC)

ABSTRACT

An integrated digital calibration circuit and digital to analog converter includes a digital to analog converter (DAC) and a digital calibration circuit including a memory for storing predetermined end point coefficients of the digital to analog converter transfer function; and an arithmetic logic unit for applying the end point coefficients to the DAC input signal to adjust the end points of the DAC and/or analog signal chain.

RELATED APPLICATIONS

[0001] This application claims priority of U.S. Provisional serial No. 60/413,909, Dempsey et al. entitled DIGITAL-TO-ANALOG CONVERTER SYSTEM CALIBRATION, filed Nov. 4, 2002 (AD-332J); and U.S. Provisional serial no. 60, 414,166, Dempsey et al. entitled DIGITAL-TO-ANALOG CONVERTER CALIBRATION ARCHITECTURE & SCHEME, filed Sep. 27, 2002.

FIELD OF THE INVENTION

[0002] This invention relates to an integrated digital calibration circuit and digital to analog converter (DAC) for adjusting, modifying, modulating or correcting DAC transfer function end points.

BACKGROUND OF THE INVENTION

[0003] Adjustment and control of DAC end points e.g. zero scale, full scale or gain and offset is desirable in a number of circumstances. One of the more important uses is end point error correction. That is correction of zero scale and full scale errors and gain and offset errors.

[0004] Digital to analog converter (DAC) transfer function end point errors e.g. zero scale and full scale errors; offset and gain errors have historically been a problem effecting (DAC) accuracy. Previous attempts to reduce such errors have included laser trimming which applied to resistors only and required special hardware and wafer fabrication techniques and added significantly to the cost. Mixed signal (analog/digital) calibration is another approach but its results can be risky, performance is limiting and less dependable. It too increases expense. One common approach is to design for the optimal nominal desired result. But the higher the accuracy desired the greater the expense: more precision design and production required, added software and/or circuitry and more expensive fabrication techniques. In addition, compensating for such errors in systems including the DACs, and their preceding reference path plus subsequent analog chain of circuits (i.e. analog signal chain) requires even greater complexity and expense either in additional and highly accurate integrated circuitry or calibrating system(s) procedures integrated into the system software.

BRIEF SUMMARY OF THE INVENTION

[0005] It is therefore an object of this invention to provide an improved integrated programmable digital calibration circuit and digital to analog converter (DAC) to adjust DAC transfer function end points.

[0006] It is a further object of this invention to provide an improved integrated programmable digital calibration circuit and digital to analog converter (DAC) which provides accuracy and performance while maintaining lower cost and complexity.

[0007] It is a further object of this invention to provide an improved integrated programmable digital calibration circuit which employs a wholly digital, less expensive approach.

[0008] It is a further object of this invention to provide an improved integrated programmable digital calibration circuit which can adjust end points not only in the DAC but in associated analog circuitry as well.

[0009] It is a further object of this invention to provide an improved integrated programmable digital calibration circuit which reduces demands on external control circuits such as microcontrollers, DSPs and CPUs.

[0010] It is a further object of this invention to provide an improved integrated programmable digital calibration circuit which can adjust zero scale and full scale and gain and offset.

[0011] It is a further object of this invention to provide an improved integrated digital calibration circuit and digital to analog converter (DAC) to compensate for DAC transfer function end point error.

[0012] It is a further object of this invention to provide an improved integrated digital calibration circuit and digital to analog converter (DAC) which provides greater accuracy and performance while maintaining lower cost and complexity.

[0013] It is a further object of this invention to provide an improved integrated digital calibration circuit which employs a wholly digital less expensive approach.

[0014] It is a further object of this invention to provide an improved integrated digital calibration circuit which can reduce errors not only in the DAC but in associated analog circuitry as well.

[0015] It is a further object of this invention to provide an improved integrated digital calibration circuit which reduces demands on external control circuits such as microcontrollers, DSP's and CPU's.

[0016] It is a further object of this invention to provide an improved integrated digital calibration circuit which can correct zero scale and full scale errors and gain and offset errors.

[0017] The invention results from the realization that a simple and inexpensive, but much more accurate, DAC can be achieved by integrating a calibration unit with the DAC to provide the DAC transfer function end point coefficients, e.g. gain and offset coefficients, zero scale and full scale coefficients, digitally, to the DAC, which coefficients can be stored externally or internally, on the calibration circuit or on a chip which holds both the calibration circuit and the DAC, and can be applied to adjust the DAC end points or the DAC end points and the end points of the analog circuits associated with the DAC and further the memory can be made user accessible for post fabrication error correction programming for the DAC and/or associated analog circuits.

[0018] This invention features a programmable integrated digital calibration circuit and digital to analog converter including a digital to analog converter (DAC) and a digital calibration circuit including a memory for storing predetermined of the end point coefficients of the digital to analog converter transfer function and an arithmetic logic unit for applying the coefficients of the end points to the DAC input signal to adjust the end points of the DAC.

[0019] In a preferred embodiment the end point coefficients may include the offset coefficient and gain coefficient. The arithmetic logic unit may include an arithmetic circuit having a multiplier circuit for multiplying the DAC input by the gain coefficient and an adder circuit for adding the offset coefficient to the input signal. The end point coefficients may include the zero scale and full scale coefficients. The arithmetic logic unit may include an arithmetic circuit for algebraically using the zero scale output and ideal output and normalizing them in respect to the least significant bit (LSB) value to obtain the zero scale coefficient and combining the full scale output and ideal output and normalizing them in respect to the LSB to obtain the full scale coefficient and applying those coefficients to the input signal to the DAC. The digital calibration circuit and DAC may be on the same integrated circuit chip. The memory may be in the digital calibration circuit. The memory may be external to the digital calibration circuit. The memory may be a user accessible programmable memory.

[0020] The invention also features a programmable digital calibration system including an integrated digital calibration circuit and digital to analog converter including a digital to analog converter (DAC) and an analog signal circuit responsive to the DAC. A digital calibration circuit includes a memory for storing the predetermined end point coefficient of the DAC transfer function and includes an arithmetic logic unit for applying the end point coefficients to the DAC input signal to compensate for the end point coefficients of the DAC and the analog signal circuit.

[0021] In a preferred embodiment the digital calibration circuit and DAC may be on the same integrated circuit chip. The memory may be in the digital calibration circuit or may be external to the digital calibration circuit. The memory may be a user accessible programmable memory.

[0022] The invention also features a programmable integrated digital calibration circuit and digital to analog converter including a digital to analog converter and a digital calibration circuit including a memory for storing the predetermined offset coefficient and gain coefficient of the digital to analog converter (DAC) and an arithmetic logic unit including an arithmetic circuit having a multiplier circuit for multiplying the DAC input by the gain coefficient and an adder circuit for adding the offset coefficient to the input signal to adjust the gain and offset errors of the DAC.

[0023] In a preferred embodiment the digital calibration circuit and DAC may be on the same integrated circuit chip. The memory may be in the digital calibration circuit or may be external to the digital calibration circuit. The memory may be a user accessible programmable memory.

[0024] The invention also features a programmable digital calibration system including an integrated digital calibration circuit and digital to analog converter including a digital to analog converter (DAC) and an analog signal circuit responsive to the DAC. A digital calibration circuit includes a memory for storing the predetermined offset coefficient and gain coefficient of the DAC and the analog signal circuit and includes an arithmetic logic unit including an arithmetic circuit having a multiplier circuit for multiplying the DAC input by the gain coefficient and an adder circuit for adding the offset coefficient to the input signal to adjust the gain and offset of the DAC and the analog signal circuit.

[0025] In preferred embodiments the digital calibration circuit and DAC may be on the same integrated circuit chip. The memory may be in the digital calibration circuit or may be external to it. The memory may be a user accessible programmable memory.

[0026] The invention also features an integrated programmable digital calibration circuit and digital to analog converter including a digital to analog converter (DAC) and a digital calibration circuit including a memory for storing predetermined zero scale and full scale coefficients of the digital to analog converter DAC and an arithmetic logic unit including an arithmetic circuit for algebraically combining the zero scale output and ideal output and normalizing them by the least significant bit (LSB) value to obtain the zero scale coefficient and combining the full scale output and ideal output and normalizing them by the LSB to obtain the full scale coefficient and applying those coefficients to the input signal to the DAC to adjust the zero scale and full scale of said DAC.

[0027] In a preferred embodiment the digital calibration circuit and DAC are on the same integrated circuit chip. The memory may be in the digital calibration circuit or may be external to it and the memory may be user accessible programmable memory.

[0028] The invention also features a programmable digital calibration system including an integrated digital calibration circuit and digital to analog converter including a digital to analog converter (DAC) and an analog signal circuit responsive to the DAC. A digital calibration circuit includes a memory for storing predetermined zero scale and full scale coefficients of the DAC and the analog signal circuit and an arithmetic logic unit including an arithmetic circuit for algebraically combining the zero scale output and ideal output and normalizing them by the least significant bit (LSB) value to obtain the zero scale coefficient and combining the full scale output and ideal output and normalizing them by the LSB to obtain the full scale error coefficient and applying those coefficients to the input signal to the DAC to adjust the zero scale and full scale offset of the DAC and the analog signal circuit.

[0029] In a preferred embodiment the digital calibration circuit and DAC are on the same integrated circuit chip. The memory may be in the digital calibration circuit or external to it and the memory may be a user accessible programmable memory.

[0030] This invention features an integrated digital calibration circuit and digital to analog converter including a digital to analog converter (DAC) and a digital calibration circuit including a memory for storing predetermined complements of the end point errors of the digital to analog converter transfer function and an arithmetic logic unit for applying the complements of the end point errors to the DAC input signal to compensate for the end point errors of the DAC.

[0031] In a preferred embodiment the complements of the end point errors may include the offset error and gain error. The arithmetic logic unit may include an arithmetic circuit having a multiplier circuit for multiplying the DAC input by the gain error coefficient and an adder circuit for adding the offset error coefficient to the input signal. The complements of the end point errors may include the zero scale and full scale error coefficients. The arithmetic logic unit may include an arithmetic circuit for algebraically counting the zero scale output and ideal output and normalizing them by the least significant bit (LSB) value to obtain the zero scale error and combining the full scale output and ideal output and normalizing them by the LSB to obtain the full scale error coefficient and applying those error coefficients to the input signal to the DAC. The digital calibration circuit and DAC may be on the same integrated circuit chip. The memory may be in the digital calibration circuit. The memory may be external to the digital calibration circuit. The memory may be a user accessible programmable memory.

[0032] The invention also features a digital calibration system including an integrated digital calibration circuit and digital to analog converter including a digital to analog converter (DAC) and an analog signal circuit responsive to the DAC. A digital calibration circuit includes a memory for storing the predetermined complements of the end point error of the DAC transfer function and includes an arithmetic logic unit for applying the complements of the end point error to the DAC input signal to compensate for the end point errors of the DAC and the analog signal circuit.

[0033] In a preferred embodiment the digital calibration circuit and DAC may be on the same integrated circuit chip. The memory may be in the digital calibration circuit or may be external to the digital calibration circuit. The memory may be a user accessible programmable memory.

[0034] The invention also features an integrated digital calibration circuit and digital to analog converter including a digital to analog converter and a digital calibration circuit including a memory for storing the predetermined offset error coefficient and gain error coefficient of the digital to analog converter (DAC) and an arithmetic logic unit including an arithmetic circuit having a multiplier circuit for multiplying the DAC input by the gain error coefficient and an adder circuit for adding the offset error coefficient to the input signal to compensate the gain and offset errors of the DAC.

[0035] In a preferred embodiment the digital calibration circuit and DAC may be on the same integrated circuit chip. The memory may be in the digital calibration circuit or may be external to the digital calibration circuit. The memory may be a user accessible programmable memory.

[0036] The invention also features a digital calibration system including an integrated digital calibration circuit and digital to analog converter including a digital to analog converter (DAC) and an analog signal circuit responsive to the DAC. A digital calibration circuit includes a memory for storing the predetermined offset error coefficient and gain error coefficient of the DAC and the analog signal circuit and includes an arithmetic logic unit including an arithmetic circuit having a multiplier circuit for multiplying the DAC input by the gain error coefficient and an adder circuit for adding the offset error coefficient to the input signal to compensate the gain and offset error of the DAC and the analog signal circuit.

[0037] In preferred embodiments the digital calibration circuit DAC may be on the same integrated circuit chip. The memory may be in the digital calibration circuit or may be external to it. The memory may be a user accessible programmable memory.

[0038] The invention also features an integrated digital calibration circuit and digital to analog converter including a digital to analog converter (DAC) and a digital calibration circuit including a memory for storing predetermined zero scale and full scale error coefficients of the digital to analog converter DAC and an arithmetic logic unit including an arithmetic circuit for algebraically combining the zero scale output and ideal output and normalizing them by the least significant bit (LSB) value to obtain the zero scale error coefficient and combining the full scale output and ideal output and normalizing them by the LSB to obtain the full scale error coefficient and applying those error coefficients to the input signal to the DAC to compensate for the zero scale and full scale errors of said DAC.

[0039] In a preferred embodiment the digital calibration circuit and DAC are on the same integrated circuit chip. The memory may be in the digital calibration circuit or may be external to it and the memory may be user accessible programmable memory.

[0040] The invention also features a digital calibration system including an integrated digital calibration circuit and digital to analog converter including a digital to analog converter (DAC) and an analog signal circuit responsive to the DAC. A digital calibration circuit includes a memory for storing predetermined zero scale and full scale error coefficients of the DAC and the analog signal circuit and an arithmetic logic unit including an arithmetic circuit for algebraically combining the zero scale output and ideal output and normalizing them by the least significant bit (LSB) value to obtain the zero scale error coefficient and combining the full scale output and ideal output and normalizing them by the LSB to obtain the full scale error coefficient and applying those error coefficients to the input signal to the DAC to compensate for the zero scale and full scale offset errors of the DAC and the analog signal circuit.

[0041] In a preferred embodiment the digital calibration circuit and DAC are on the same integrated circuit chip. The memory may be in the digital calibration circuit or external to it and the memory may be a user accessible programmable memory.

BRIEF DESCRIPTION OF THE DRAWINGS

[0042] Other objects, features and advantages will occur to those skilled in the art from the following description of a preferred embodiment and the accompanying drawings, in which:

[0043]FIG. 1 is a graphical illustration of a digital to analog converter (DAC) transfer function showing end point errors as gain and offset errors;

[0044]FIG. 2 is a graphic illustration of a digital to analog converter (DAC) transfer function showing end point errors as zero scale and full scale errors;

[0045]FIG. 3 is a simplified schematic block diagram of an integrated digital calibration circuit and DAC employing gain and offset coefficients according to this invention.

[0046] FIGS. 4A-C are more detailed schematic diagrams of a portion of three different embodiments of the digital calibration circuit for applying gain and offset coefficients to compensate for gain and offset errors;

[0047]FIG. 5 is a view similar to FIG. 3 of an integrated digital calibration circuit and DAC employing zero scale and full scale coefficients according to this invention;

[0048]FIG. 6 is a view similar to FIG. 3 of an integrated digital calibration circuit and DAC employing a software driven calibration system according to this invention; and

[0049]FIG. 7 is a flow chart of the software for operating the calibration system of FIG. 6.

DISCLOSURE OF THE PREFERRED EMBODIMENT

[0050] Aside from the preferred embodiment or embodiments disclosed below, this invention is capable of other embodiments and of being practiced or being carried out in various ways. Thus, it is to be understood that the invention is not limited in its application to the details of construction and the arrangements of components set forth in the following description or illustrated in the drawings.

[0051] The invention contemplates the adjustment of DAC end points or DAC plus analog signal current chain end points for any reason of control or adjustment. However, one of the more important applications is to correct end point errors such as zero scale, full scale errors and gain and offset errors. This error correction application is the subject of the specific embodiment disclosed but is by no means a limitation of the scope of the invention which includes end point adjustment for any reason.

[0052] Digital to analog converter (DAC) transfer function end point errors can be treated as gain and offset errors or as zero scale and full scale errors. There is shown in FIG. 1 a view of the gain and offset error approach. An ideal DAC transfer function 10 begins at the zero point, 12, and has a predetermined slope or gain. The actual transfer function 14 would typically start at some offset 16 from zero introducing the offset error and will have a slope or gain which is somewhat different than the slope or gain of the ideal transfer function 10. The deviation caused by the gain error in addition to the offset error combine to form the gain and offset error 18. Typically the coefficient to correct the offset error is referred to as c and the coefficient to correct the gain error is referred to as M.

[0053] In another view, FIG. 2 the end point errors are viewed as zero scale errors 20 and full scale errors 22. The zero scale error occurs because the zero position, 23, of the transfer function 24 may not be at the ideal zero point, 26, and the full scale error occurs because the full scale point varies in dependence on errors that effect the gain or slope of the transfer function 24 and due to errors in the zero position, 23.

[0054] In one embodiment according to this invention a DAC 30, FIG. 3, and digital calibration circuit 32 are integrated on a single chip 34. A calibration system 36 senses the output of DAC 30 at 38 or if desired the output from DAC 30 and the subsequent analog signal circuits or analog signal chain 40 at output 42. In this way the errors of the entire analog chain, including the DAC, can be compensated for. In either case, the signal is coupled via line 44 to calibration system 36 which delivers the offset error coefficient c and the gain error coefficient m to digital calibration circuit 32 where these values are used to calculate y where x is the input signal and y is the output signal. Simply stated

y=mx+c  (1)

[0055] where y is the output, m is the gain or slope error coefficient, c is the offset coefficient and x is the input.

[0056] Equation No. 1 is a classic, generic textbook linear algebraic expression, using real numbers by default. In the case of a digital to analog converter the digital input of the DAC has finite, quantized resolution. Hence, quantized, finite resolution digital numbers are appropriate in the expressions for DACs. For this reason, we use a modified version of this expression in practice:

y=(m+c2)/d)+c  Eq (2)

[0057] where: c2 is a second constant digital term and d is a divider factor used to scale down the output number.

[0058] A specific, preferred embodiment is:

y=((m+1)*/2{circumflex over ( )}N)*x+c  Eq (3)

[0059] If the gain factor (m) has N effective bits of resolution, the maximum (or fullscale) m value=2{circumflex over ( )}N−1. In equation (2), with fullscale m (m=2{circumflex over ( )}N−1), the effective gain=(2{circumflex over ( )}N−1+1)/2{circumflex over ( )}N=1.

[0060] The choice of “+1” factor in equation (2) is for implementation reasons. M=2{circumflex over ( )}N−1=>gain =1. Any digital constant can be used instead of +1. Similarly, the division by 2{circumflex over ( )}N operation equates to positioning the taps from the digital multiplier output, as is known to those skilled in the art, and a different divider factor could also be chosen.

[0061] For gains of greater than unity, the range of m+1 is greater than the divider factor d.

[0062] The values of m and c, may be stored in a memory 50 which may be on chip 34 but external to digital calibration circuit 32, or they may be contained within digital calibration circuit 32 memory 50′ or may be external to both DAC 30 and digital calibration circuit 32 and chip 34 as shown by memory 50″. When memory 50″ is provided external to chip 34 it may be made accessible and programmable by the user so that not just the input signal x but the offset coefficient c and gain coefficient m may be chosen to compensate for DAC errors or for DAC errors and errors contributed by any one or more of the subsequent analog signal circuits in chain 40.

[0063] Included in digital calibration circuit 32 is an arithmetic logic unit 33, such as arithmetic circuit 52, FIG. 3, which includes a multiplier 54 and adder 56, FIG. 4. Arithmetic circuit 52 thus performs the equation y=m×+c. It receives the x input to multiplier 54 where it is multiplied by the m coefficient to which is added the c coefficient in adder 56 to produce the output y. Alternatively, arithmetic unit 32 a, FIG. 4B, may include an additional divider 55 to obtain the output $y = {\frac{m\quad x}{d} + {c.}}$

[0064] That is, divider 55 divided by d the product p of the DAC input x and gain offset m to obtain a quotient q which is then added to the offset c by adder 56 where d is a divider factor used to scale down the output number. Or as shown at 52 b, FIG. 4C, there may be an adder 57 which combines coefficient c2 59 to obtain the output $y = {\frac{\left( {m + {c2}} \right)**}{d} + {c.}}$

[0065] That is, before the gain offset m is multiplied by the DAC input x to obtain product p, the gain offset is combined with a second constant c2, 59.

[0066] Alternatively, as shown in FIG. 5, the arithmetic circuit 52 a in the arithmetic logic unit 33 a in digital calibration circuit 32 a may produce a zero scale error coefficient, zs, and the full scale coefficient, fs or may provide them along with input x to digital calibration circuit 32 a. In the same way as previously, memory 50 a, 50′a, and 50″a may perform in a similar fashion but with respect to full scale coefficient fs and zero scale coefficient zs. Calibration system 36 may include hardware circuits or a combination of hardware circuits and software for sensing the zero scale and full scale outputs in calculating the zs and fs coefficients or the m and c coefficients. Calibration system 36 b, FIG. 6, would contain an ADC at its input externally, ADC 37 or internally 37′, for converting analog signal circuit chain at 42 b to digital format for use in arithmetic operations to calculate the coefficients. Analog signal circuit (chain) 40 b may also include V_(ref+) circuit 51 and V_(ref−) circuit 53. It may also be done entirely in software in calibration system 36 b, FIG. 6, in three phases, 1,2, and 3 which may calculate either the zs and fs coefficients or the m and c coefficients as shown in the software flowcharts of FIG. 7.

[0067] The calibration cycle starts with setting the DAC input at zero, step 100, FIG. 7, and then measuring the voltage/current output, in step 102, of the DAC or of the analog signal circuit chain 40. Then the DAC is set to full scale in step 104 and again the output is measured. In step 106 the output of either DAC 30 or the analog signal circuit chain 40 is used to calculate the coefficients m and c. The LSB size is calculated in step 108. The c/zs terms are calculated in step 110 after which m, step 112 and dfs, step 114 are calculated. Next c/zs and m step 116 and c/zs and fs, step 118 are quantized. fs is calculated, step 120 and c/zs and fs are quantized, 122.

[0068] To correct for end point error using the zero scale zs coefficient and the full scale fs coefficient the coefficient zs can be obtained arithmetically by algebraically summing the voltage out at zero scale minus the voltage out at zero scale ideal and normalizing that or dividing it by the least significant bit size.

[0069] The full scale correction coefficient fs can be obtained in by algebraically summing the V_(out) full scale minus the V_(out) full scale ideal and normalizing that with the least significant bit size.

[0070] Note that the calibration system 36 can include software, a DSP or a microcontroller or other device to effect the determination of m and c or zs and fs.

EXAMPLE 1 Calculates m and c Coefficients to Correct Gain and Offset Errors

[0071] V_(ref)+=4.096v

[0072] V_(ref)−=0v

[0073] DAC resolution, N=12

[0074] Therefore, ideal ${LSB} = {\frac{4.096 - 0}{2^{n}} = {1{mv}}}$

[0075] Step 100=>102=>V_(outzs)=−10 mv

[0076] Step 100×106=>V_(outfs)=4.115v

[0077] New Step: ${{Calculate}\quad {LSB}\quad {size}} = {\frac{V_{outfs} - V_{outzs}}{2^{n} - 1} = {\frac{4.115 - 0.01}{4095} = {1.002442{mv}}}}$

${{Calculate}\quad {c/z}\quad s} = {\frac{- \left( {V_{outzs} - V_{outzcideal}} \right)}{{LSB}\quad {size}} = {\frac{- \left( {{- 0.01} - 0} \right)}{{LSB}\quad {size}} = 9.9756}}$

[0078] Quantize c/zs to required resolution (12 b)=>10 ${{Calculate}\quad m} = {\frac{{Ideal}\quad {Output}\quad {Range}}{V_{outfs} - V_{outzs}} = {\frac{4.095}{4.115 - 0.010} = 0.997564}}$

[0079] Quantize m to required level (12 b)=>4086

EXAMPLE 2 Calculating zs and fs Coefficients to Cancel Zero Scale and Full Scale Errors

[0080] We can extend example No. 1 and use the same data to calculate new coefficients as follows: ${{Set}\quad {dfs}} = {\frac{- \left( {V_{outfs} - V_{{outfs}\text{-}{ideal}}} \right)}{{LSB}\quad {size}} = {\frac{- \left( {{4.115\quad v} - 4.096} \right)}{1.002442\quad {mv}} = {18.954 = {18.954\quad {LSBs}}}}}$

[0081] Quantizing dfs to 12 b (LSB) level: dfs→19 LSBs ${{Set}\quad {dfs}} = {\frac{V_{{out}_{fs}}}{{LSB}\quad {size}} = {\frac{4.115}{1.002442\quad {mv}} = 4104.97565}}$

[0082] Quantizing fs to 12 b (LSB) level: fs→4105

[0083] Although specific features of the invention are shown in some drawings and not in others, this is for convenience only as each feature may be combined with any or all of the other features in accordance with the invention. The words “including”, “comprising”, “having”, and “with” as used herein are to be interpreted broadly and comprehensively and are not limited to any physical interconnection. Moreover, any embodiments disclosed in the subject application are not to be taken as the only possible embodiments.

[0084] Other embodiments will occur to those skilled in the art and are within the following claims: 

What is claimed is:
 1. An integrated programmable digital calibration circuit and digital to analog converter comprising: a digital to analog converter (DAC); and a digital calibration circuit including a memory for storing predetermined end point coefficients of said digital to analog converter transfer function; and an arithmetic logic unit for applying the end point coefficients to the DAC input signal to adjust the end points of said DAC.
 2. The integrated programmable digital calibration circuit and digital to analog converter of claim 1 in which said end point coefficients include the offset coefficient and gain coefficient.
 3. The integrated programmable digital calibration circuit and digital to analog converter of claim 2 in which said arithmetic logic unit includes an arithmetic circuit having a multiplier circuit for multiplying the DAC input by the gain coefficient and an adder circuit for adding the offset coefficient to said input signal.
 4. The integrated programmable digital calibration circuit and digital to analog converter of claim 3 in which said arithmetic circuit includes a divider circuit for dividing the product of the DAC input and the gain coefficient before adding it to the offset coefficient.
 5. The integrated programmable digital calibration circuit and digital to analog converter of claim 3 in which said arithmetic circuit includes a second adder for combining a second constant with the gain coefficient before it is multiplied by the DAC input.
 6. The integrated programmable digital calibration circuit and digital to analog converter of claim 1 in which said of said end point coefficients include the zero scale and full scale coefficients.
 7. The integrated programmable digital calibration circuit and digital to analog converter of claim 6 in which said arithmetic logic unit includes an arithmetic circuit for algebraically counting the zero scale output and ideal output and normalizing them by the least significant bit (LSB) value to obtain the zero scale coefficient and combining the full scale output and ideal output and normalizing them by the LSB to obtain the full scale coefficient and applying those coefficients to the input signal to the DAC.
 8. The integrated programmable digital calibration circuit and digital to analog converter of claim 1 in which said digital calibration circuit and DAC are on the same integrated circuit chip.
 9. The integrated programmable digital calibration circuit and digital to analog converter of claim 8 in which said memory is in said digital calibration circuit.
 10. The integrated programmable digital calibration circuit and digital to analog converter of claim 8 in which said memory is external to said digital calibration circuit.
 11. The integrated programmable digital calibration circuit and digital to analog converter of claim 8 in which said memory is a user accessible programmable memory.
 12. A programmable digital calibration system including an integrated digital calibration circuit and digital to analog converter comprising: a digital to analog converter (DAC); an analog signal circuit responsive to said DAC; and a digital calibration circuit including a memory for storing the predetermined end point coefficients of said DAC transfer function; and an arithmetic logic unit for applying the end point coefficients to the DAC input signal to adjust for the end points of said DAC and said analog signal circuit.
 13. The programmable digital calibration system including an integrated digital calibration circuit and digital to analog converter of claim 12 in which said digital calibration circuit and DAC are on the same integrated circuit chip.
 14. The programmable digital calibration system including an integrated digital calibration circuit and digital to analog converter of claim 13 in which said memory is in said digital calibration circuit.
 15. The programmable digital calibration system including an integrated digital calibration circuit and digital to analog converter of claim 13 in which said memory is external to the digital calibration circuit.
 16. The programmable digital calibration system including an integrated digital calibration circuit and digital to analog converter of claim 13 in which said memory is a user accessible programmable memory.
 17. A programmable integrated digital calibration circuit and digital to analog converter comprising: a digital to analog converter; and a digital calibration circuit including a memory for storing the predetermined offset coefficient and gain coefficient of said digital to analog converter (DAC) and an arithmetic logic unit including an arithmetic circuit having a multiplier circuit for multiplying the DAC input by the gain coefficient and an adder circuit for adding the offset coefficient to said input signal to adjust the gain and offset of said DAC.
 18. The integrated programmable digital calibration circuit and digital to analog converter of claim 17 in which said arithmetic circuit includes a divider circuit for dividing the product of the DAC input and the gain coefficient before adding it to the offset coefficient.
 19. The integrated programmable digital calibration circuit and digital to analog converter of claim 17 in which said arithmetic circuit includes a second adder for combining a second constant with the gain coefficient before it is multiplied by the DAC input.
 20. The programmable integrated digital calibration circuit and digital to analog converter of claim 17 in which said digital calibration circuit and DAC are on the same integrated circuit chip.
 21. The programmable integrated digital calibration circuit and digital to analog converter of claim 18 in which said memory is in said digital calibration circuit.
 22. The programmable integrated digital calibration circuit and digital to analog converter of claim 18 in which said memory is external to said digital calibration circuit.
 23. The programmable integrated digital calibration circuit and digital to analog converter of claim 18 in which said memory is a user accessible programmable memory
 24. A programmable digital calibration system including a integrated digital calibration circuit and digital to analog converter comprising: a digital to analog converter (DAC); an analog signal circuit responsive to said DAC; and a digital calibration circuit including a memory for storing the predetermined offset coefficient and gain coefficient of said DAC and said analog signal circuit; and an arithmetic logic unit including an arithmetic circuit having a multiplier circuit for multiplying the DAC input by the gain coefficient and an adder circuit for adding the offset coefficient to said input signal to adjust the gain and offset of said DAC and said analog signal circuit.
 25. The integrated programmable digital calibration circuit and digital to analog converter of claim 24 in which said arithmetic circuit includes a divider circuit for dividing the product of the DAC input and the gain coefficient before adding it to the offset coefficient.
 26. The integrated programmable digital calibration circuit and digital to analog converter of claim 24 in which said arithmetic circuit includes a second adder for combining a second constant with the gain coefficient before it is multiplied by the DAC input.
 27. The programmable integrated digital calibration circuit and digital to analog converter of claim 24 in which said digital calibration circuit and DAC are on the same integrated circuit chip.
 28. The programmable integrated digital calibration circuit and digital to analog converter of claim 24 in which said memory is in said digital calibration circuit.
 29. The programmable integrated digital calibration circuit and digital to analog converter of claim 24 in which said memory is external to said digital calibration circuit.
 30. The programmable integrated digital calibration circuit and digital to analog converter of claim 24 in which said memory is a user accessible programmable memory.
 31. A programmable integrated digital calibration circuit and digital to analog converter comprising: a digital to analog converter (DAC); and a digital calibration circuit including a memory for storing predetermined zero scale and full scale coefficients of said digital to analog converter (DAC) and an arithmetic logic unit including an arithmetic circuit for algebraically combining the zero scale output and ideal output and normalizing them by the least significant bit (LSB) value to obtain the zero scale coefficient and combining the full scale output and ideal output and normalizing them by the LSB to obtain the full scale coefficient and applying those coefficients to the input signal to the DAC to adjust the zero scale and full scale of said DAC.
 32. The programmable integrated digital calibration circuit and digital to analog converter of claim 31 in which said digital calibration circuit and DAC are on the same integrated circuit chip.
 33. The programmable integrated digital calibration circuit and digital to analog converter of claim 32 in which said memory is in said digital calibration circuit.
 34. The programmable integrated digital calibration circuit and digital to analog converter of claim 32 in which said memory is external to said digital calibration circuit.
 35. The programmable integrated digital calibration circuit and digital to analog converter of claim 32 in which said memory is a user accessible programmable memory.
 36. A programmable digital calibration system including an integrated digital calibration circuit and digital to analog converter comprising: a digital to analog converter (DAC); an analog or mixed signal circuit responsive to said DAC; and a digital calibration circuit including a memory for storing predetermined zero scale and full scale coefficients of said DAC and said analog signal circuit; and an arithmetic logic unit including an arithmetic circuit for algebraically combining the zero scale output and ideal output and normalizing them by the least significant bit (LSB) value to obtain the zero scale coefficient and combining the full scale output and ideal output and normalizing them by the LSB to obtain the full scale coefficient and applying those coefficients to the input signal of the DAC to adjust for the zero scale and full scale offsets of said DAC and said analog signal circuit.
 37. The programmable integrated digital calibration circuit and digital to analog converter of claim 36 in which said digital calibration circuit and DAC are on the same integrated circuit chip.
 38. The programmable integrated digital calibration circuit and digital to analog converter of claim 37 in which said memory is in said digital calibration circuit.
 39. The programmable integrated digital calibration circuit and digital to analog converter of claim 37 in which said memory is external to said digital calibration circuit.
 40. The programmable integrated digital calibration circuit and digital to analog converter of claim 37 in which said memory is a user accessible programmable memory.
 41. An integrated digital calibration circuit and digital to analog converter comprising: a digital to analog converter (DAC); and a digital calibration circuit including a memory for storing predetermined complements of the end point errors of said digital to analog converter transfer function; and an arithmetic logic unit for applying the complements of the end point errors to the DAC input signal to compensate for the end point errors of said DAC.
 42. The integrated digital calibration circuit and digital to analog converter of claim 41 in which said complements of said end point errors include the offset error coefficient and gain error coefficient.
 43. The integrated digital calibration circuit and digital to analog converter of claim 42 in which said arithmetic logic unit includes an arithmetic circuit having a multiplier circuit for multiplying the DAC input by the gain error coefficient and an adder circuit for adding the offset error coefficient to said input signal.
 44. The integrated digital calibration circuit and digital to analog converter of claim 41 in which said complement of said end point errors includes the zero scale and full scale error coefficients.
 45. The integrated digital calibration circuit and digital to analog converter of claim 44 in which said arithmetic logic unit includes an arithmetic circuit for algebraically counting the zero scale output and ideal output and normalizing them by the least significant bit (LSB) value to obtain the zero scale error coefficient and combining the full scale output and ideal output and normalizing them by the LSB to obtain the full scale error coefficient and applying those error coefficients to the input signal to the DAC.
 46. The integrated digital calibration circuit and digital to analog converter of claim 41 in which said digital calibration circuit and DAC are on the same integrated circuit chip.
 47. The integrated digital calibration circuit and digital to analog converter of claim 46 in which said memory is in said digital calibration circuit.
 48. The integrated digital calibration circuit and digital to analog converter of claim 46 in which said memory is external to said digital calibration circuit.
 49. The integrated digital calibration circuit and digital to analog converter of claim 46 in which said memory is a user accessible programmable memory.
 50. A digital calibration system including an integrated digital calibration circuit and digital to analog converter comprising: a digital to analog converter (DAC); an analog signal circuit responsive to said DAC; and a digital calibration circuit including a memory for storing the predetermined complement of the end point error of said DAC transfer function; and an arithmetic logic unit for applying the complements of the end point errors to the DAC input signal to compensate for the end point errors of said DAC and said analog signal circuit.
 51. The digital calibration system integrated digital calibration circuit and digital to analog converter of claim 50 in which said digital calibration circuit and DAC are on the same integrated circuit chip.
 52. The digital calibration system integrated digital calibration circuit and digital to analog converter of claim 51 in which said memory is in said digital calibration circuit.
 53. The digital calibration system integrated digital calibration circuit and digital to analog converter of claim 51 in which said memory is external to said digital calibration circuit.
 54. The digital calibration system integrated digital calibration circuit and digital to analog converter of claim 51 in which said memory is a user accessible programmable memory.
 55. An integrated digital calibration circuit and digital to analog converter comprising: a digital to analog converter; and a digital calibration circuit including a memory for storing the predetermined offset error coefficient and gain error coefficient of said digital to analog converter (DAC) and an arithmetic logic unit including an arithmetic circuit having a multiplier circuit for multiplying the DAC input by the gain error coefficient and an adder circuit for adding the offset error coefficient to said input signal to compensate for the gain and offset errors of said DAC.
 56. The integrated digital calibration circuit and digital to analog converter of claim 55 in which said digital calibration circuit and DAC are on the same integrated circuit chip.
 57. The integrated digital calibration circuit and digital to analog converter of claim 56 in which said memory is in said digital calibration circuit.
 58. The integrated digital calibration circuit and digital to analog converter of claim 55 in which said memory is external to said digital calibration circuit.
 59. The integrated digital calibration circuit and digital to analog converter of claim 55 in which said memory is a user accessible programmable memory.
 60. A digital calibration system including a integrated digital calibration circuit and digital to analog converter comprising: a digital to analog converter (DAC); an analog signal circuit responsive to said DAC; and a digital calibration circuit including a memory for storing the predetermined offset error coefficient and gain error coefficient of said DAC and said analog signal circuit; and an arithmetic logic unit including an arithmetic circuit having a multiplier circuit for multiplying the DAC input by the gain error coefficient and an adder circuit for adding the offset error coefficient to said input signal to compensate for the gain and offset error of said DAC and said analog signal circuit.
 61. The integrated digital calibration circuit and digital to analog converter of claim 60 in which said digital calibration circuit and DAC are on the same integrated circuit chip.
 62. The integrated digital calibration circuit and digital to analog converter of claim 61 in which said memory is in said digital calibration circuit.
 63. The integrated digital calibration circuit and digital to analog converter of claim 61 in which said memory is external to said digital calibration circuit.
 64. The integrated digital calibration circuit and digital to analog converter of claim 61 in which said memory is a user accessible programmable memory.
 65. An integrated digital calibration circuit and digital to analog converter comprising: a digital to analog converter (DAC); and a digital calibration circuit including a memory for storing predetermined zero scale and full scale error coefficients of said digital to analog converter (DAC) and an arithmetic logic unit including an arithmetic circuit for algebraically combining the zero scale output and ideal output and normalizing them by the least significant bit (LSB) value to obtain the zero scale error coefficient and combining the full scale output and ideal output and normalizing them by the LSB to obtain the full scale error coefficient and applying those error coefficients to the input signal to the DAC to compensate for the zero scale and full scale errors of said DAC.
 66. The integrated digital calibration circuit and digital to analog converter of claim 65 in which said digital calibration circuit and DAC are on the same integrated circuit chip.
 67. The integrated digital calibration circuit and digital to analog converter of claim 66 in which said memory is in said digital calibration circuit.
 68. The integrated digital calibration circuit and digital to analog converter of claim 66 in which said memory is external to said digital calibration circuit.
 69. The integrated digital calibration circuit and digital to analog converter of claim 66 in which said memory is a user accessible programmable memory.
 70. A digital calibration system including an integrated digital calibration circuit and digital to analog converter comprising: a digital to analog converter (DAC); an analog or mixed signal circuit responsive to said DAC; and a digital calibration circuit including a memory for storing predetermined zero scale and full scale error coefficients of said DAC and said analog signal circuit; and an arithmetic logic unit including an arithmetic circuit for algebraically combining the zero scale output and ideal output and normalizing them by the least significant bit (LSB) value to obtain the zero scale error coefficient and combining the full scale output and ideal output and normalizing them by the LSB to obtain the full scale error coefficient and applying those error coefficients to the input signal of the DAC to compensate for the zero scale and full scale offset errors of said DAC and said analog signal circuit.
 71. The integrated digital calibration circuit and digital to analog converter of claim 70 in which said digital calibration circuit and DAC are on the same integrated circuit chip.
 72. The integrated digital calibration circuit and digital to analog converter of claim 71 in which said memory is in said digital calibration circuit.
 73. The integrated digital calibration circuit and digital to analog converter of claim 71 in which said memory is external to said digital calibration circuit.
 74. The integrated digital calibration circuit and digital to analog converter of claim 71 in which said memory is a user accessible programmable memory. 